`<%-- 
    Document   : home
    Created on : Apr 10, 2011, 4:13:19 PM
    Author     : Yongke
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript" language="Javascript" src="home.js"></script>
<link rel="StyleSheet" href="home.css" type="text/css" />
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <div id="header">
            <a id="logout" href="index.jsp"><img src="title.png" alt="title" width="30%" /></a>
        </div>
        <div id="logoutmenu">
            Hello, <% out.print(session.getAttribute("username")); %>
            <a href="logout" style="color: white; font-weight: bold;" >Logout</a>
        </div>
        <div id="friendroom">
        <div id="friendblock">
            <a href="javascript:getFriend()">All Friend</a>
            <a href="javascript:getOnlineFriend()">Online Friend</a>
        <div id="friend">
            
        </div>
        </div>
        <div id="roomblock">
            <a href="javascript:getRoom()">Refresh Room</a>
            <div id="daftarroom"></div>
            <div id="chatform">
                <form method="post" action="javascript:sendChat()">
                    <input type="text" id="chattextbox" name="chattextbox" />
                    <input type="submit" value="Chat" />
                </form>
            </div>
        </div>
        </div>
        <div id="ajaxInfo">

        </div>
        <div id="menuchat">
        <div id="tab"></div>
            <div id="chatbox">
            </div>
            <div id="chattab">
            </div>
        </div>
        <div id="responsechat">            
        </div>
    </body>
</html>
